/// @description Insert description here
// You can write your code in this editor
if ( object_get_parent( o_Hero) && distance_to_object(o_Hero)<50 ) {
 o_Hero.spd = 1
 
}
if (distance_to_object(o_Hero)>50)
{
	o_Hero.spd = o_Hero.fullspd
}












